xend: destroy stubdoms synchronously
authorKeir Fraser <keir.fraser@citrix.com>
Thu, 15 Oct 2009 07:16:42 +0000 (08:16 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Thu, 15 Oct 2009 07:16:42 +0000 (08:16 +0100)
commit51f36202c47f6bb84a67c6e387c1b7afb69c1347
treeff00dfee90ae69b2b800d4621694971ec98c3f84
parentb1fd365cece2833c767ee8f96c421ee32e467af5
xend: destroy stubdoms synchronously

This patch makes the destruction of stubdoms a synchronous event,
therefore it is no longer possible to run out of memory when rebooting
a guest because the stubdom of the old guest is always destroyed
before the creation of the new guest.

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
stubdom/stubdom-dm
tools/python/xen/xend/XendDomainInfo.py
tools/python/xen/xend/image.py